package com.itheima.demo02;

public class Test {
    public static void main(String[] args) {
        Girlfriend girlfriend = new Girlfriend();
        girlfriend.code();
        girlfriend.play();
        girlfriend.eat();

        Boyfriend boyfriend = new Boyfriend();
        boyfriend.code();
        boyfriend.eat();

        ICode.show();
        IGame.show();
    }
}
